<SCRIPT SRC="highlight.js" TYPE="text/javascript"></SCRIPT>
<LINK REL=StyleSheet HREF="../regex.css" TYPE="text/css">
</HEAD>
<BODY BGCOLOR=white TEXT=black>
<DIV CLASS=top><DIV CLASS=logo><IMG SRC="../img/logo.gif" WIDTH=530 HEIGHT=100></DIV></DIV>
<DIV CLASS=btntop><A CLASS=btntop HREF="../tutorial.html" TARGET="_top">&nbsp;Tutorial&nbsp;</A><A CLASS=btntop HREF="../tools.html" TARGET="_top">&nbsp;Tools&nbsp;&amp;&nbsp;Languages&nbsp;</A><A CLASS=btntop HREF="../examples.html" TARGET="_top">&nbsp;Examples&nbsp;</A><A CLASS=btntop HREF="../reference.html" TARGET="_top">&nbsp;Reference&nbsp;</A></DIV>
<DIV CLASS=bodytext>
<H1>Checking for Doubled Words</H1>
<DIV CLASS="regexbuddyregex">
<P><TT><SPAN ID="regex0" onMouseOver="regexbuddyhighlight('0')" onMouseOut="regexbuddyclear('0')">\b</SPAN><SPAN ID="regex2" onMouseOver="regexbuddyhighlight('2')" onMouseOut="regexbuddyclear('2')">(</SPAN><SPAN ID="regex3" onMouseOver="regexbuddyhighlight('3')" onMouseOut="regexbuddyclear('3')">\w</SPAN><SPAN ID="regex5" onMouseOver="regexbuddyhighlight('5')" onMouseOut="regexbuddyclear('5')">+</SPAN><SPAN onMouseOver="regexbuddyhighlight('2')" onMouseOut="regexbuddyclear('2')">)</SPAN><SPAN ID="regex7" onMouseOver="regexbuddyhighlight('7')" onMouseOut="regexbuddyclear('7')">\s</SPAN><SPAN ID="regex9" onMouseOver="regexbuddyhighlight('9')" onMouseOut="regexbuddyclear('9')">+</SPAN><SPAN ID="regex10" onMouseOver="regexbuddyhighlight('10')" onMouseOut="regexbuddyclear('10')">\1</SPAN><SPAN ID="regex12" onMouseOver="regexbuddyhighlight('12')" onMouseOut="regexbuddyclear('12')">\b</SPAN></TT></P>

<P>Options: case insensitive</P>
</DIV>
<DIV CLASS="regexbuddytree"><UL CLASS="noindent"><LI CLASS="regexanchor"><A HREF="http://www.regular-expressions.info/wordboundaries.html"><SPAN ID="tree0" onMouseOver="regexbuddyhighlight('0')" onMouseOut="regexbuddyclear('0')">Assert position at a word boundary</SPAN></A><LI CLASS="regexcapture"><A HREF="http://www.regular-expressions.info/brackets.html"><SPAN ID="tree2" onMouseOver="regexbuddyhighlight('2')" onMouseOut="regexbuddyclear('2')">Match the regular expression below and capture its match into backreference number 1</SPAN></A><UL><LI CLASS="regexspecial"><A HREF="http://www.regular-expressions.info/charclass.html#shorthand"><SPAN ID="tree3" onMouseOver="regexbuddyhighlight('3')" onMouseOut="regexbuddyclear('3')">Match a character that is a &quot;word character&quot; (letters, digits, etc.)</SPAN></A><UL><LI CLASS="regexrepeat"><A HREF="http://www.regular-expressions.info/repeat.html"><SPAN ID="tree5" onMouseOver="regexbuddyhighlight('5')" onMouseOut="regexbuddyclear('5')">Between one and unlimited times, as many times as possible, giving back as needed (greedy)</SPAN></A></UL></UL><LI CLASS="regexspecial"><A HREF="http://www.regular-expressions.info/charclass.html#shorthand"><SPAN ID="tree7" onMouseOver="regexbuddyhighlight('7')" onMouseOut="regexbuddyclear('7')">Match a character that is a &quot;whitespace character&quot; (spaces, tabs, line breaks, etc.)</SPAN></A><UL><LI CLASS="regexrepeat"><A HREF="http://www.regular-expressions.info/repeat.html"><SPAN ID="tree9" onMouseOver="regexbuddyhighlight('9')" onMouseOut="regexbuddyclear('9')">Between one and unlimited times, as many times as possible, giving back as needed (greedy)</SPAN></A></UL><LI CLASS="regexbackref"><A HREF="http://www.regular-expressions.info/brackets.html#usebackrefinregex"><SPAN ID="tree10" onMouseOver="regexbuddyhighlight('10')" onMouseOut="regexbuddyclear('10')">Match the same text as most recently matched by backreference number 1</SPAN></A><LI CLASS="regexanchor"><A HREF="http://www.regular-expressions.info/wordboundaries.html"><SPAN ID="tree12" onMouseOver="regexbuddyhighlight('12')" onMouseOut="regexbuddyclear('12')">Assert position at a word boundary</SPAN></A></UL></DIV>
<DIV CLASS="regexbuddyfooter"><P><A HREF="http://www.regexbuddy.com/analyze.html">Regular expression analyzed with RegexBuddy</A>.<BR>
HTML output from RegexBuddy adapted with a PowerGREP <A HREF="http://www.powergrep.com">search-and-replace sequence</A>.</P></DIV>
</DIV>
<DIV CLASS=side>
<TABLE CLASS=side CELLSPACING=0 CELLPADDING=4><TR><TD CLASS=sideheader>Welcome</TD></TR><TR><TD><A HREF="../tutorial.html" TARGET=_top>Tutorial</A></TD></TR><TR><TD><A HREF="../tools.html" TARGET=_top>Tools&nbsp;and&nbsp;Languages</A></TD></TR><TR><TD><A HREF="../examples.html" TARGET=_top>Examples</A></TD></TR><TR><TD><A HREF="../reference.html" TARGET=_top>Reference</A></TD></TR><TR><TD><A HREF="../about.html" TARGET=_top>About&nbsp;This&nbsp;Site</A></TD></TR><TR><TD><A HREF="../print.html" TARGET=_top>Download&nbsp;and&nbsp;Print</A></TD></TR></TABLE>
</DIV></BODY></HTML>
